{include file="public/header" /}
</head>
<body>
<div class="x-body">
	<form action="{:_url('save')}" class="layui-form layui-form-pane" id="form">
		<input type="hidden" name="id" value="{$info.id}"/>
		<div class="layui-form-item">
			<label class="layui-form-label"><span class="x-red">*</span>登录名</label>
			<div class="layui-input-inline">
				<input type="text" name="admin_name" value="{$info.admin_name}" placeholder="请输入登录名" lay-verify="required" class="layui-input"/>
			</div>
			<label class="layui-form-label"><span class="x-red">*</span>角色</label>
			<div class="layui-input-inline">
				<select name="role_id" lay-verify="required">
					<option value="">请选择</option>
					{volist name="roles" id="v"}
					<option value="{$v.id}" {if $v.id==$info.role_id}selected{/if}>{$v.title}</option>
					{/volist}
				</select>
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label"><span class="x-red">*</span>手机号</label>
			<div class="layui-input-inline">
				<input type="text" name="mobile" value="{$info.mobile}" placeholder="请输入手机号" lay-verify="required" class="layui-input"/>
			</div>
			<label class="layui-form-label"><span class="x-red">*</span>邮箱</label>
			<div class="layui-input-inline">
				<input type="text" name="email" value="{$info.email}" placeholder="请输入邮箱" lay-verify="required" class="layui-input"/>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">备注信息</label>
			<div class="layui-input-block">
				<textarea class="layui-textarea" name="comment" placeholder="请输入备注信息">{$info.comment}</textarea>
			</div>
		</div>
		<div class="layui-form-item layui-form-text">
			<label class="layui-form-label">*默认密码123456</label>
		</div>

		<div class="layui-form-item" style="text-align: center;">
			<button class="layui-btn" lay-filter="save" lay-submit formObj="#form">保存</button>
		</div>
	</form>
</div>
</body>
</html>